import ZbRequest from '../index'

export const getScore = (data) => ZbRequest.get('/score', data)

export const addScore = (data) => ZbRequest.post('/score', data)

export const getScoreDetail = (id) => ZbRequest.get('/score/' + id, {})

export const deleteScore = (id) => ZbRequest.delete('/score/' + id, {})

export const updateScore = (id, data) => ZbRequest.put('/score/' + id, data)



// export const addStudent = (data) => ZbRequest.post('/student', data)
// export const deleteStudent = (id) => ZbRequest.delete('/student/' + id, {})
// export const updateStudent = (id, data) => ZbRequest.put('/student/' + id, data)

// export const getStudent = (data) => ZbRequest.get(`/student`, data)
// export const getStudent = (id) => ZbRequest.get(`/student`, {})
// export const getStudentDetail = (id) => ZbRequest.get('/student/' + id, {})